<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"
	/>
	<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
	<link rel="stylesheet" href="../css/reset.css">
	<link rel="stylesheet" type="text/css" href="../css/aui.css" />
	<link rel="stylesheet" href="../css/money_box.css" />
	<title>交易明细</title>
	<style>
		body {
			background: #FFFFFF;
		}

		.aui-bar-light {
			border-bottom: 0;
		}

		.box {
			height: 7rem;
			line-height: 2rem;
			text-align: center;
			background: url('../images/bg/bg_deal.png') no-repeat center center;
			color: #FFFFFF;
		}

		.title {
			display: -webkit-flex;
			justify-content: space-between;
			margin: 0 0.5rem;
			line-height: 2.2rem;
			border-bottom: 1px solid #D8D8D8;
		}

		.title div:first-child {
			color: #535353;
		}

		.flex-1 {
			flex: 1;
		}

		.name,
		.card,
		.phone {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			width: 14rem;
		}

		.name input,
		.card input,
		.phone input {
			border: 1px solid #ddd;
			border-radius: 1rem;
			height: 1.5rem;
			vertical-align: middle;
			padding: 0 0.5rem;
		}

		.btn {
			text-align: center;
			border: 1px solid #ddd;
			width: 5rem;
			margin: 0 auto;
			margin-top: 0.5rem;
			border-radius: 0.5rem;
		}

		.btn-sub {
			width: 5rem;
			height: 1.5rem;
			line-height: 1.5rem;
			color: #222;
		}

		.text-right {
			text-align: right;
		}
		.text-title{
			padding: 0 0.5rem;
			color: #ccc;
		}
	</style>
</head>

<body>
	<!-- 头部  s -->

	<header class="aui-bar aui-bar-nav aui-bar-light" style="background: #4e536c;">
		<a class="aui-pull-left aui-btn" onclick="history.go(-1)">
			<span class="aui-iconfont aui-icon-left" style="color: #FFFFFF;"></span>
		</a>
		<div class="aui-title" style="color: #FFFFFF;">交易明细</div>

	</header>
	<!-- 头部  e  -->
	<div class="content">
		<div class="box">
			<div  style="font-size: 1.6rem; padding-top: 1.5rem;" class="payMoney"></div>
			<div>交易金额</div>
		</div>
		<div class="title">
			<div>交易类型： </div>
			<div>消费</div>
		</div>
		<div class="title">
			<div> 设备终端号： </div>
			<div class="terminal">10117059 </div>
		</div>
		<div class="title">
			<div>交易卡号： </div>
			<div class="cardNumber">6005**********2020</div>
		</div>
		<div class="title">
			<div> 到账金额： </div>
			<div class="daozhang">1000000 </div>
		</div>
		<div class="title">
			<div>到账时间：</div>
			<div class="time">2017-11-28 16:30:35</div>
		</div>
		<div class="title">
			<div>姓名：</div>
			<div class="name text-right">
				<input type="text" value="">
			</div>
		</div>
		<div class="title">
			<div>身份证号：</div>
			<div class="card">
				<input type="text" value="">
			</div>
		</div>
		<div class="title">
			<div>手机号码：</div>
			<div class="phone">
				<input type="text" value="">
			</div>
		</div>
	</div>
	<div class="text-title"> 此信息仅用于银行验证，信息已做加密处理，请您完整详细填写。</div>
	<div class="btn">
		<a class="btn-sub">保存</a>
	</div>
	<script src="../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/comment.js"></script>
	<script src="../js/template.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		$('.btn').click(function () {
			$('.name').html($(".name input").val())
			$('.card').html($(".card input").val())
			$('.phone').html($(".phone input").val())
			$(".btn").hide()
		})
		window.onload = function () {
			$('.payMoney').html('￥'+GetQueryString("money"))
			$('.cardNumber').html(GetQueryString("cardNumber"))
			$('.time').html(GetQueryString("time"))
			$('.terminal').html(GetQueryString("terminal"))
			$('.daozhang').html(GetQueryString("money") - GetQueryString("money")*6/1000)
		}
		function GetQueryString(name) {
			var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
			var r = window.location.search.substr(1).match(reg);
			if (r != null) {
				return unescape(r[2]);
			}
			return null;
		}





	</script>
</body>

</html>